package com.zhuangjie.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuangjie.shop.dto.activity.FullReductionActivityDTO;
import com.zhuangjie.shop.dto.activity.NewCustomerActivityDTO;
import com.zhuangjie.shop.dto.activity.ReduceDeliveryFreeActivityDTO;
import com.zhuangjie.shop.entity.ShopActivityInstance;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuangjie
 * @since 2024-03-12
 */
public interface ShopActivityInstanceService extends IService<ShopActivityInstance> {

    List<ShopActivityInstance> getShopActivityListByType(Long activityTypeId);

    void putFullReductionActivity(FullReductionActivityDTO fullReductionActivityDTO);

    void removeShopActivityInstanceById(Long activityInstanceId);

    ShopActivityInstance getShopActivityInstanceById(Long activityInstanceId);

    void putNewCustomerActivity(NewCustomerActivityDTO fullReductionActivityDTO);

    void putReduceDeliveryFreeActivity(ReduceDeliveryFreeActivityDTO reduceDeliveryFreeActivityDTO);

    void participateOrExitDivineVoucher(Boolean state);

    boolean isShopInvolvedInPlatformCouponActivity(Long shopId);

}
